package org.soulraven.games.memory.model;

import org.soulraven.games.memory.engine.MemoryEngine;
import org.soulraven.games.memory.engine.SinglePlayerEngine;
import org.soulraven.games.memory.engine.TwoPlayersEngine;

public enum GameMode {

	SINGLE_PLAYER_MODE(new SinglePlayerEngine()), 
	TWO_PLAYERS_MODE(new TwoPlayersEngine()), 
	NETWORK_SERVER_MODE(new TwoPlayersEngine()), 
	NETWORK_CLIENT_MODE(new TwoPlayersEngine());

	private final MemoryEngine engine;

	private GameMode(final MemoryEngine engine) {
		this.engine = engine;
	}

	public MemoryEngine getEngine() {
		return engine;
	}
}
